package com.zmx.patientend.view.activity;


import android.os.Bundle;
import android.widget.TextView;

import com.zmx.patientend.BaseActivity;
import com.zmx.patientend.R;

import butterknife.BindView;
import butterknife.ButterKnife;

public class AboutDeviceActivity extends BaseActivity {

    @BindView(R.id.model)
    TextView model;
    @BindView(R.id.devicel)
    TextView devicel;
    @BindView(R.id.edition)
    TextView edition;

    private String s_model;
    private String s_devicel;
    private String s_edition;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_about_device;
    }

    @Override
    protected void initViews() {

        setToolbar(R.id.tool_bar);
        ButterKnife.bind(this);

        s_devicel = this.getIntent().getStringExtra("devicel");
        s_model = this.getIntent().getStringExtra("model");
        s_edition = this.getIntent().getStringExtra("edition");

        devicel.setText(s_devicel);
        model.setText(s_model);
        edition.setText(s_edition);


    }

}
